package com.woniuxy.propertyjava.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@AllArgsConstructor
@NoArgsConstructor
@Data

/**
 * (Park)实体类
 *
 * @author makejava
 * @since 2022-07-02 14:54:32
 */
public class Park implements Serializable {
    private static final long serialVersionUID = 172450814614020238L;
    
    private Integer id;
    
    private String parknum;
    
    private String parkportnum;
    
    private Integer parkresidentinformation;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date parkstarttime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date parkendtime;
    private Holdinformation1 holdinformation1;

    private Car car;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getParknum() {
        return parknum;
    }

    public void setParknum(String parknum) {
        this.parknum = parknum;
    }

    public String getParkportnum() {
        return parkportnum;
    }

    public void setParkportnum(String parkportnum) {
        this.parkportnum = parkportnum;
    }

    public Integer getParkresidentinformation() {
        return parkresidentinformation;
    }

    public void setParkresidentinformation(Integer parkresidentinformation) {
        this.parkresidentinformation = parkresidentinformation;
    }

    public Date getParkstarttime() {
        return parkstarttime;
    }

    public void setParkstarttime(Date parkstarttime) {
        this.parkstarttime = parkstarttime;
    }

    public Date getParkendtime() {
        return parkendtime;
    }

    public void setParkendtime(Date parkendtime) {
        this.parkendtime = parkendtime;
    }

}

